<!DOCTYPE html>
<html>

	<head>
		<title><%= GetStringConfig.SiteName %></title>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta name="keywords" content="<%= GetStringConfig.WebsiteKeyword %>" />
		<meta name="description" content="<%= GetStringConfig.WebsiteDescription %>" />
		<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
		<%- include('include/headType')  %>

	</head>

	<body>
		<div style='display:none'><input type='hidden' name='csrfmiddlewaretoken' value='c441f794388f608ffc9866c642d8988b' /></div>

		<div id="header" class="nav-wrapper">
			<div class="header site-width">
				<ul class="right">
					<li class="left joke_essay">
						<a href="javascript:void(0)" onclick="window.open('http://neihanshequ.com/', '_blank');"><img src="http://s3.bytecdn.cn/neihan/resource/neihan_web/static/image/site-v2/duanzi_new_98a9323.png" alt=""></a>
					</li>
					<li class="left joke_zone">
						<a href="yisi/yisi.html" target="_blank"><img src="http://s3.bytecdn.cn/neihan/resource/neihan_web/static/image/site-v2/yisi_47bf37d.png" alt=""></a>
					</li>
				</ul>
			</div>
			<div class="nav" id="nav">
				<div class="site-width">
					<ul>
						<li class="active">
							<a href="/">段子</a>
						</li>
						<!--<li class="">
							<a href="pic/pic.html">图片</a>
						</li>-->
						<!--<li class="right complain">
							<a href="complain/complain.html">投诉</a>
						</li>-->
						<% if (User_id) { %>
						<li id="loginBtn" class="right login  show-logout">
							<a href="/user/<%= User_id %>/">我的</a>
							<a class="logout" href="/login/logout">退出</a>
						</li>
						<% } else{ %>
						<li class="right login">
							<a href="/register">注册</a>
						</li>
						<li class="right login">
							<a href="/login">登陆</a>
						</li>
						<% } %>
						<li class="right create">
							<a href="javascript:;" id="postPopup">投稿</a>
						</li>
					</ul>
				</div>
			</div>
		</div>

		<div class="site-width outer" style="overflow:hidden;">
			<div class="content-wrapper left">

				<div class="content">

					<ul id="detail-list">

					</ul>
					<div class="loading-more" id="loadMore">加载更多</div>

				</div>
			</div>

			<div class="sidebar left">
				<div class="box base-info">
					<ul>
						<li class="desc-item" style="overflow:hidden;">
							<img src="<%= GetStringConfig.HomeImg %>" alt="" class="left logo">
							<div class="desc-wrapper left">
								<div class="h1">
									<%= GetStringConfig.HomeTitle %>
								</div>
								<div class="h2">
									<%= GetStringConfig.HomeDescription %>
								</div>
							</div>
						</li>
						<li class="star-score-item">
							<div class="star-score-wrapper left">
								<div class="stars">
									<span class="star"></span>
									<span class="star"></span>
									<span class="star"></span>
									<span class="star"></span>
									<span class="star"></span>
								</div>
								<span class="score">32639份评分</span>
							</div>
							<div class="qrcode-wrapper right">
								<img src="<%= GetStringConfig.HomeQRCode %>" alt="" class="qrcode">
							</div>
						</li>
						<li class="download-btn-item">
							<ul>
								<li class="btn ios-dl-btn left">
									<a href="<%= GetStringConfig.IOSDown %>" target="_blank">iOS下载</a>
								</li>
								<li class="btn android-dl-btn left">
									<a href="<%= GetStringConfig.androidDown %>" target="_blank">Android下载</a>
								</li>
							</ul>
						</li>
					</ul>
				</div>

				<div class="box qq-contact-info">
					<div class="header">
						<%= GetStringConfig.RightTitle %>
					</div>
					<ul>
						<li>
							<%= GetStringConfig.RightWord1 %>
						</li>
						<li>
							<%= GetStringConfig.RightWord2 %>
						</li>
						<li>
							<%= GetStringConfig.RightWord3 %>
						</li>
						<li>
							<%= GetStringConfig.RightWord4 %>
						</li>
						<li>
							<%= GetStringConfig.RightWord5 %>
						</li>
					</ul>
				</div>

			</div>

		</div>

		<%- include('include/bottomType')  %>
		<script>
			Wo.PlainText();
			Wo.publish_post();
		</script>
	</body>

</html>